Double Open Server
The DOS scanner wrapper is a client for the scanner API implemented as part of the Double Open Server project at https://github.com/doubleopen-project/dos. The server runs ScanCode in the backend and stores / reuses scan results on a per-file basis and thus uses its own scan storage.
Configuration
Example
{
"DOS": {
"options": {
"url": null,
"timeout": null,
"pollInterval": 5,
"fetchConcluded": false,
"frontendUrl": "http://localhost:3000",
"writeToStorage": true
},
"secrets": {
"token": null
}
}
}
Options
url
The URL where the DOS backend is running.
token
The secret token to use with the DOS backend.
timeout
The timeout for communicating with the DOS backend, in seconds.
pollInterval
Interval (in seconds) to use for polling scanjob status from DOS API.
fetchConcluded
Use license conclusions as detected licenses when they exist?
frontendUrl
The URL where the DOS / package curation front-end is running.
writeToStorage
Whether to write scan results to the storage.